home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
Patches.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
3KB
|
112 lines
/*
File: Patches.idl
Contains: Patch Manager Interfaces.
Version: Technology: System 8
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __PATCHES_IDL__
#define __PATCHES_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __KERNEL_IDL__
#include <Kernel.idl>
#endif
#ifndef __ORDEREDITEMS_IDL__
#include <OrderedItems.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
typedef SignedByte TrapType;
/*
GetTrapAddress and SetTrapAddress are obsolete and should not
be used. Always use NGetTrapAddress and NSetTrapAddress instead.
The old routines will not be supported for PowerPC apps.
*/
#if OLDROUTINENAMES && !GENERATINGCFM
#endif
#if GENERATINGPOWERPC
#endif
/*
// Moved here from StdCLib
pascal Boolean TrapAvailable (UInt16 trapNumber);
*/
#endif
/* FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED*/
#if FOR_SYSTEM8_PREEMPTIVE
typedef OpaquePtr PatchID;
typedef OpaquePtr PatchChainID;
typedef OpaquePtr PatchableProcPtr; /* Substituted OpaquePtr for ``void*'' */
typedef OptionBits PatchOptions;
typedef OrderedItemName PatchName;
typedef OpaquePtr PatchNamePtr; /* Substituted OpaquePtr for ``PatchName*'' */
typedef OrderRequirements PatchOrderRequirements;
typedef OpaquePtr PatchOrderRequirementsPtr; /* Substituted OpaquePtr for ``PatchOrderRequirements*'' */
typedef SOMLargeStruct PatchDescription; /* Derived from a struct of 56 bytes in size */
typedef OpaquePtr PatchDescriptionPtr; /* Substituted OpaquePtr for ``PatchDescription*'' */
typedef OptionBits PatchHeaderOptions;
typedef SOMLargeStruct PatchHeader; /* Derived from a struct of 20 bytes in size */
typedef SOMLargeStruct PatchInformation; /* Derived from a struct of 40 bytes in size */
typedef OpaquePtr PatchInformationPtr; /* Substituted OpaquePtr for ``PatchInformation*'' */
typedef SOMLargeStruct PatchChainInformation; /* Derived from a struct of 8 bytes in size */
typedef OpaquePtr PatchChainInformationPtr; /* Substituted OpaquePtr for ``PatchChainInformation*'' */
/*
* Maps a ProcPtr to a PatchChainID.
* If the ProcPtr is a patch, return noErr and Chain
* If the ProcPtr is a root, return noErr and Chain
* If the ProcPtr is not a patch or a root, return an error
*/
/*
* Maps a ProcPtr to a PatchID.
* If the ProcPtr is a patch, return noErr and the PatchID
* If the ProcPtr is a root, return notAPatchErr
* If the ProcPtr is not a patch or a root, return notAPatchErr
*/
/*
* Iteration functions:
* Get all the chains in a KernelProcess, and
* Get all the patches in a chain
*/
#endif
#endif /* __SOMIDL__ */
#endif /* __PATCHES_IDL__ */